#include <iostream>
#include <string>

using namespace std;

struct student
{
    string name;
    int score;
};

struct teacher
{
    string name;
    struct student stuarr[5];
};

void all(struct teacher * teaarr , int len)
{
    string nameseed = "ABCDE";
    for (int i = 0; i < len; i++)
    {
        teaarr[i].name = "Teacher_";
        teaarr[i].name += nameseed[i];
        for (int j = 0; j < 5; j++)
        {
            teaarr[i].stuarr[j].name = "Student_";
            teaarr[i].stuarr[j].name += nameseed[j];

            teaarr[i].stuarr[j].score = 60;
        }
    }
}

void printall(struct teacher * teaarr, int len)
{
    for (int i = 0; i < len; i++)
    {
        cout << "老师姓名：" << teaarr[i].name << endl;
        for (int j = 0; j < 5; j++)
        {
            cout << "学生姓名：" << teaarr[i].stuarr[j].name << endl;
            cout << "学生成绩：" << teaarr[i].stuarr[j].score << endl;
        }
    }
}

int main(void)
{
    struct teacher teaarr[3];

    all(teaarr, 3);

    printall(teaarr, 3);

    return 0;
}